package com.yhhvip.admin.dao;

import com.yhhvip.admin.common.MyMapper;
import com.yhhvip.admin.entity.Brand;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BrandMapper extends MyMapper<Brand> {
    int del(Integer brandId);

    int save(Brand record);

    Brand findOne(Integer brandId);

    int update(Brand record);

    List<Brand> findAll();
}